RDFtk: Core
This crate provides the core RDF data model; concrete implementations for Statement
s and Literal
s, along with a Resource
type that provides a builder-like experience for models.
Example
use ;
use IRI;
use Rc;
use FromStr;
Changes
Version 0.1.14
- Removed stand-alone named graph.
- Added DataSet as a way to associate names to graphs.
- Renamed CachingGraph to ValueFactory and made stand-alone.
Version 0.1.13
- Bug: fixed Literal constructors to produce an escape-safe literal form for strings.
Version 0.1.12
- Fixed: cargo fmt error.
Version 0.1.11
- Added: public types
StatementRef
andStatementList
rather than havingRc
obviously in all APIs.
Version 0.1.10
- Support for Datasets and Quads by adding a context
(type
ContextNode
) toStatement
.
Version 0.1.9
- Support for RDF* in
Statement
. - Added additional constructors to
Statement
. - Renamed Resource method
rdf_type
toinstance_of
for compatibility with RDF schema usage. - Added
is_valid
associated function toQName
.
Version 0.1.8
- Explicit exports over
pub use *
.
Version 0.1.7
- Split
Graph
intoGraph
andMutableGraph
. - Split
NamedGraph
intoNamedGraph
andMutableNamedGraph
. - Added
get_default_namespace
to thePrefixMappings
trait as a helper function. - Altered
PrefixMappings::compress
andPrefixMappings::expand
to take references.
Version 0.1.6
- Explicit version management.
Version 0.1.5
- Updates for rdftk_memgraph to build.
Version 0.1.4
- Made all local dependencies only major/minor valued.
Version 0.1.3
- Moved all
IRI
toIRIRef
on interfaces. - Moved
Graph
and associated types into core and deprecatedrdftk_graph
.
Version 0.1.2
- Clean-up changes.
Version 0.1.1
- Added
From
to allow direct construction of aSubjectNode
from anIRI
. - Fixed a bug in
QName
that dropped the ":" for non-prefixed values.
Version 0.1.0
- First release.
TODO
TBD